I am currently migrating our old code accessing netapp using ontap and replacing it by using REST. I tried to write a file to netapp using POSTMAN by calling the following URL (http method POST): https://ms-netapp.m-s.ch/api/storage/volumes/{volumeid}/files/{path} My content type is multipart-formdata and I have two elements in it first element: Json with the following content. { "target": "Test", "is_empty": "", "name": "Test.pdf", "path": "TestPH", "type": "file" } second element: my actual file this leads to an http-400 error without further information about the cause. The funny thing about it is, that if I remove the second element, it creates a file that contains the submitted json. I tried to implement the api using the following information: https://docs.netapp.com/us-en/ontap-restapi-9121/ontap/swagger-ui/index.html#/storage/file_info_create
... View more
I'm trying to use set-NcNetInterface to set a home port for an interface, and it gives me an error ( like every Powershell command I ran): Set-NcNetInterface -name ABC -vserver ABC -node ABC-01 -port a0a -IsHome $true The error is: set-ncnetinterface : IsHome parameter specified, which is not supported for ONTAPI call NetApp Powershell team, can you address all the problems with Powershell ToolKits??
... View more
I'm looking for the corresponding azure cli for the following action suspend a backup policy for a specific volume I do see a cli (at policy level) az netappfiles account backup-policy update, which has got the following parameter [--enabled {0, 1, f, false, n, no, t, true, y, yes}] The property to decide policy is enabled or not. Accepted values: 0, 1, f, false, n, no, t, true, y, yes But this is at the netapp account > policy level I'm unable to find the azure cli to do this at specific volume level. cli for this action at Volume level in the Configure Backups dialog box > Policy State { Suspend/Resume}
... View more
I guided to use the /storage/aggregates/{uuid} REST API endpoint, specifically the space.block_storage.used field, to determine their block storage usage (total allocated capacity within an aggregate). However, they reported that the space.block_storage.used value fluctuates slightly even when no volume expansion, creation, or writes to the storage are occurring. Does the space.block_storage.used value include not only the space consumed by the user's data, but also metadata and information related to scheduled snapshots? And, if metadata and snapshot information are included in space.block_storage.used, which field should be referenced to obtain only the explicitly allocated space used by the customer, excluding metadata and snapshots?
... View more
Customer is trying to pull the IOPs report for all volumes for last 6 months or longer, over the RESTAPI endpoint they could collect only last 96 hours of data (Per API documentation, there is no parameter discussed to pull the historical data other than 96 hours default one), but they are able to collect last 13 months of IOPs data for individual volumes by manual GUI steps. Customer states that collecting manually for 5000+ volumes is not something easier process. So, they require to know if there's a way, they could collect the same 13 months of IOPS data over an API for all the volumes.
... View more